#include <QCoreApplication>
#include <iostream>
using namespace std;

#include "Parser.h"
//#include "AnalyzersExtra.h"

int main(int argc, char *argv[])
{
//    QScriptValue vLoader = e.newQObject(loader);
//    QScriptValue vIh = e.newQObject(&ih);

//    e.globalObject().setProperty("Loader", vLoader); // now you can access the LibLoader from a script by id Loader
//    e.globalObject().setProperty("Holder", vIh);     // now you can access the InstanceHolder from a script by id Holder
    QCoreApplication a(argc, argv);

    Parser p;
    QObject::connect(&p, SIGNAL(finished()), &a, SLOT(quit()));
    p.start();

    return a.exec();
}
